﻿@using Combres.Mvc
<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
    <link type="image/x-icon" href="/favicon.ico" rel="icon" />
    <link type="image/x-icon" href="/favicon.ico" rel="shortcut icon" />
    @Url.CombresLink("siteCss")
    @RenderSection("Styles", required: false)
    @Url.CombresLink("siteJs")
</head>
<body>
    <div id="page">
        <ul id="topMnu">
            <li><a href="#"></a></li>
        </ul>
        <div id="header">
            <ul id="menu">
                <li>@Html.ActionLink("Home", "Index", "Home")</li>
                <li>@Html.ActionLink("About", "About", "Home")</li>
            </ul>
            <h1>
                @Html.ActionLink("Jun1st's Notes", "Index", "Home")
                <small>我的只言片语</small>
            </h1>
        </div>
        <div id="main">
            <div id="sidebar">
                @{Html.RenderAction("Sidebar", "Home");}
            </div>
            <div id="content">
                @RenderBody()
            </div>
        </div>
        <div id="footer">
        </div>
    </div>
    @RenderSection("Scripts", required: false)
    <script type="text/javascript">
        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', 'UA-21801955-1']);
        _gaq.push(['_trackPageview']);

        (function () {
            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
        })();
    </script>
</body>
</html>
